package com.wyd.service;

import com.wyd.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "providers")
public interface TcProductClientService{

    @GetMapping(value = "/product/detail", produces = MediaType.APPLICATION_JSON_VALUE)
    public ResponseEntity<Result> detail( @RequestParam(value = "id", required = true) String id);

}